[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets the number of values associated with a given key.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
protected int CountValues(
TKey key
) |
| Visual Basic (Declaration) |
|---|
Protected Function CountValues ( _
key As TKey _
) As Integer |
| Visual C++ |
|---|
protected:
virtual int CountValues (
TKey key
) sealed |
Parameters
- key
- TKey
The key to count values of.
Return Value
The number of values associated with
key. If
key
is not present in the dictionary, zero is returned.
See Also